VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Processing Namespace / ProcessingCommandTree<TTarget> Class / AddCommandWithTypeCast<TSourceTarget,TDestTarget>(String,IEnumerable<IProcessingCommandInfo>,List<IProcessingCommand<TDestTarget>>) Method
Syntax Requirements SeeAlso
In This Topic
    AddCommandWithTypeCast<TSourceTarget,TDestTarget>(String,IEnumerable<IProcessingCommandInfo>,List<IProcessingCommand<TDestTarget>>) Method (ProcessingCommandTree<TTarget>)
    In This Topic
    Converts command targets in the processing commands to the specified type; creates new processing command, which contains from the specified commands; adds new processing command to the specified command list.
    Syntax
    'Declaration
    
    Protected Sub AddCommandWithTypeCast<TSourceTarget
    The type of the source target.
    ,TDestTarget
    The type of the dest target.
    >( _
    ByVal processingCommandName
    The name of new processing command.
    As System.String, _
    ByVal nestedProcessingCommands
    The processing commands, which must be used as nested commands in new processing command.
    As System.Collections.Generic.IEnumerable(Of IProcessingCommandInfo), _
    ByVal destCommands
    The command list, where new command must be added.
    As System.Collections.Generic.List(Of IProcessingCommand) _
    ) (Of TSourceTarget
    The type of the source target.
    , TDestTarget
    The type of the dest target.
    )

    Parameters

    processingCommandName
    The name of new processing command.
    nestedProcessingCommands
    The processing commands, which must be used as nested commands in new processing command.
    destCommands
    The command list, where new command must be added.

    Type Parameters

    TSourceTarget
    The type of the source target.
    TDestTarget
    The type of the dest target.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also